package com.project.bean;

import java.time.LocalDate;

public class RecordBean {
    private int id;
    private LocalDate date = LocalDate.now();
    private String info;

    public RecordBean() {
    }

    public RecordBean(String info) {
        this.info = info;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "RecordBean{" +
                "id=" + id +
                ", date=" + date +
                ", info='" + info + '\'' +
                '}' + "\n";
    }
}
